package com.znsd.zl.app.housecollect.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName MybatisConfig
 * @Description TODO
 * @Author jaypdd
 * @Date 2020/8/23 1:31
 * @Version v1.0
 */
@Configuration
public class MybatisConfig {

	/**
	 * 配置mybatis-plus分页插件
	 */
	@Bean
	public PaginationInterceptor paginationInterceptor() {
		return new PaginationInterceptor();
	}

}
